package com.leeh.jsontest;

/**
 * Created by Liheng on 2017-04-14.
 */

public interface Constents {

    String SERVICE_IP = "http://182.61.26.49:8080";

    //教师
    String URL_OURSELVES_TERM_LIST = SERVICE_IP + "/Schedule/json/term/list";
    String URL_OURSELVES_TEACHER_LIST = SERVICE_IP + "/Schedule/json/teacher/list";
    String URL_OURSELVES_TEACHER_COURSE = SERVICE_IP + "/Schedule/json/teacher/course";
    String URL_OURSELVES_TEACHER_VALIDATE = SERVICE_IP + "/Schedule/json/teacher/validate";

    //课程
    String URL_OURSELVES_COURSE_LIST = SERVICE_IP + "/Schedule/json/course/list";
    String URL_OURSELVES_COURSE_COURSE = SERVICE_IP + "/Schedule/json/course/course";
    String URL_OURSELVES_COURSE_VALIDATE = SERVICE_IP + "/Schedule/json/course/validate";

    //任选
    String URL_OURSELVES_CAMPUS_LIST = SERVICE_IP + "/Schedule/json/campus/list";
    String URL_OURSELVES_OPTION_COURSE = SERVICE_IP + "/Schedule/json/option/course";
    String URL_OURSELVES_OPTION_VALIDATE = SERVICE_IP + "/Schedule/json/option/validate";

    //教室
    String URL_OURSELVES_BUILDING_LIST = SERVICE_IP + "/Schedule/json/building/list?campus_id=";
    String URL_OURSELVES_ROOM_LIST = SERVICE_IP + "/Schedule/json/room/list?building_id=";
    String URL_OURSELVES_ROOM_COURSE = SERVICE_IP + "/Schedule/json/room/course";
    String URL_OURSELVES_ROOM_VALIDATE = SERVICE_IP + "/Schedule/json/room/validate";

    /**
     * handler 公共处理常量
     */
    int GET_VERCODER = 0;
    int GET_COURSE = 1;
    int GET_COOKIE = 3;
    int GET_SPINNER_CONTENT = 4;
    int GET_DISABLE_NETWORK = 5;
}
